<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
<jsp:include page="../inc.jsp"></jsp:include>
<meta http-equiv="X-UA-Compatible" content="edge" />
<script type="text/javascript">
	var ctx = '${ctx}';
</script>

<script type="text/javascript" src="${ctx}/jslib/workflow/workflow.js"></script>
<c:if test="${fn:contains(sessionInfo.resourceList, '/role/edit')}">
	<script type="text/javascript">
		$.canEdit = true;
	</script>
</c:if>
<c:if test="${fn:contains(sessionInfo.resourceList, '/role/delete')}">
	<script type="text/javascript">
		$.canDelete = true;
	</script>
</c:if>
<c:if test="${fn:contains(sessionInfo.resourceList, '/role/grant')}">
	<script type="text/javascript">
		$.canGrant = true;
	</script>
</c:if>
<script type="text/javascript" src="${ctx}/jslib/meetingroom/regular.js"></script>
<script type="text/javascript">
	loginName = '${sessionInfo.loginName}';  
	loginId = '${sessionInfo.id}';
</script>
<title></title>
</head>
<body class="easyui-layout" data-options="fit:true,border:false">
	<div data-options="region:'center',fit:true,border:false">
		<div id='wrap'>

			<form id="roomScheduleAddForm" method="post" style="width: 100%">
				<table border="1" style="width: 100%;height: 70%">
					<tbody>
						<tr bgcolor="#398EB7">
							<td colspan="2"><font color="#ffffff">例会参数设置</font></td>
						</tr>
						<tr>
						</tr>
						<tr>
							<td>
								<div align="left">
									<p>
										<font face="Verdana">周:&nbsp;</font> <br>
									</p>
								</div></td>
							<td><font face="Verdana"> <select id="" class="easyui-combobox" name="week" style="width:90%;">
										<option value="2">星期一</option>
										<option value="3">星期二</option>
										<option value="4">星期三</option>
										<option value="5">星期四</option>
										<option value="6">星期五</option>
								</select> <br> </font></td>
						</tr>
						<tr>
							<td>
								<div align="left">
									<p>
										<font face="Verdana">日期:&nbsp;</font> <br>
									</p>
								</div></td>
							<td><font face="Verdana">
								<input id="dt" type="text" name="startDate"></input>
								<input id="dt2" type="text" name="endDate"></input>
							 </font></td>
						</tr>
						<tr>
							<td>
								<div align="left">
									<p>
										<font face="Verdana">主题:&nbsp;</font> <br>
									</p>
								</div></td>
							<td><font face="Verdana">
								<input id="" type="text" name="title" class="easyui-validatebox span2" data-options="required:true"></input>
							 </font></td>
						</tr>
						<tr>
							<td>
								<div align="left">
									<p>
										<font face="Verdana">会议室:&nbsp;</font> <br>
									</p>
								</div></td>
							<td><font face="Verdana"> <input id="cc" value="" name="roomId" style="width:90%;"> <br> </font></td>
						</tr>
						<tr>
							<td>
								<div align="left">
									<p>
										<font face="Verdana">预定人:&nbsp;</font> <br>
									</p>
								</div></td>
							<td><font face="Verdana"> <input id="" value="${sessionInfo.loginName}" disabled="disabled" name="userName" style="width:90%;"> <br> </font></td>
						</tr>
						<tr>
							<td colspan="2" style="text-align: center;">
									<font face="Verdana"> 
									<a id="btn" href="#" class="easyui-linkbutton" >提交</a>  
									<a id="btnDelete" href="javascript:deleteRegular()" class="easyui-linkbutton" >删除</a>  
							 <br>  </font>
							</td>
						</tr>
					</tbody>
				</table>
				<input type="hidden" name="loginId" value="${sessionInfo.id}"/>
			</form>

			<div style='clear: both'></div>
		</div>
	</div>
	<div id="dd" class="dialog_none">Dialog Content.</div>
</body>
</html>